package core;

public class CartoonInterp {
	
	//Es la longitud mayor del n-gram que se está analizando
	private int length;
	private int [] count;
	
	
	
	public CartoonInterp(int length){
		this.length=length;
		count = new int[length];
	}


	public void setValue(int value,int index){
		count[index]=value;
	}
	
	public void sumValue(int value,int index){
		count[index]+=value;
	}
	
	public int getValue(int index){
		return count[index];
	}

	//Gets and Sets
	public int getLength() {
		return length;
	}



	public void setLength(int length) {
		this.length = length;
	}



	public int[] getCount() {
		return count;
	}



	public void setCount(int[] count) {
		this.count = count;
	}
	
	

}
